package com.jk.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.lang.annotation.Documented;

/**
 * @author ${马卫鑫}
 * @version 1.0
 * @date 2022/10/9 16:23
 */
@Data
@Document(indexName = "pending")
@TableName("pending")
public class UpSign {
    @Id
    @Field(type = FieldType.Integer)
    private Integer id;
    @Field(type = FieldType.Text,analyzer = "ik_max_word")
    private String  name;
    @Field(type = FieldType.Text)
    private String  number;
    @Field(type = FieldType.Text)
    private String  phone;
    @Field(type = FieldType.Integer)
    private Integer  state;
    @Field(type = FieldType.Text)
    private String groupp;
    private String serve;
    private String deadline;
    private String doctor;
    private String expiredate;

    private String startTime;
    private String endTime;

}
